﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace Exercise12
{
    public partial class Form : System.Windows.Forms.Form
    {
        MyStrFun MyStr = new MyStrFun();
        User User;
        public Form()
        {
            InitializeComponent();
        }
        private void BntFun_Click(object sender, EventArgs e)
        {
            User = MyStr.StrRemoveNum1(TxtIn.Text);
            if (User.bIsNull) { MessageBox.Show(User.StrMsg); }
            else{ TxtOut.Text = MyStr.ReStr; }
        }
    }
}
